package com.egoo.ticket.server.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("表单字段信息")
public class FieldInfo {

	@ApiModelProperty("字段标识")
	private String prop;
	@ApiModelProperty("字段名称")
	private String label;
	@ApiModelProperty("字段类型")
	private String type;
	@ApiModelProperty("前端显示条件")
	private Boolean slot;
	@ApiModelProperty("字段排序")
	private Integer order;
	private String belongToTable;

	public FieldInfo(){}
	public FieldInfo(String prop,String label,String type,Boolean slot,String belongToTable){
		this.prop =prop;
		this.label =label;
		this.type =type;
		this.slot =slot;
		this.belongToTable = belongToTable;
	}
}
